home *** CD-ROM | disk | FTP | other *** search
- Part of the ENHANCER series of programs BORDERS.COM Ver. 2.5, Feb 22, 1985
-
- Copyright (C) I. B. Miller 1984, 1985
-
- If you find this of value and use it please send a
- contribution ($15.00) suggested. If you want the
- latest version of the ENHANCER programs please send
- $25.00 plus $10.00 for Disk, Shipping & Handling.
-
- To: Enhancers
- 231 Otonabee Ave.
- Willowdale, Ontario, Canada
- M2M-2S9
-
- Borders is a program which sets a border color &/or graphics palette
- and background on either the regular or enhanced color card on every occurrence
- of the interrupt chosen by the user. The user selected border color and palette
- is thus relatively permanent despite the efforts of commercial programs to wipe
- them out or change them.
-
- It will work with the regular or enhanced color card and most others
- as, to my knowledge, it uses DOS functions properly as recommended by
- IBM Corporation.
-
- Syntax is : BORDERS BH,P#,IHH
- -----------
-
- B indicates a border color change is coming and H is any hex digit (0-F)
- to indicate the desired border color or H can be the letter o
- to turn program off ( border color is also graphics background ).
-
- P indicates that a palette is to be forced for graphics display
- # is the palette to be used (only 0 or 1 are allowed )
- or if letter o is entered palette forcing is turned off
-
- I is to indicate another interrupt is to be used rather than the default of
- Keyboard 09 while HH is the Interrupt number to be used. Note that after
- Initial installation I is ignored as it is not possible to put back an
- Interrupt vector & be sure that no program further down the possible
- chain has stolen my vector - which could have disastrous results.
-
- Disclaimer
- ----------
- For obvious reasons the user is totally responsible for use of this
- program and determining that it is suitable for use by him, and he uses this
- program with no warranty from myself.
-
- It should be permanent unless the program doesn't use DOS facilities in
- the normal manner and/or sets borders enthusiastically. In such cases
- choosing 1C as the Interrupt to use will usually work.
-
- General
- --------
- Please note that even though BORDERS.COM is about 3K long most of this is code
- to set up the initial display, provide help and to install itself. This is run
- once and then discarded leaving only the less than 128 bytes, necessary to
- maintain borders and palettes at the desired color, still in residence.
-
- The colors which can be selected for borders are:
-
- 0. Black 8. grey
- 1. Blue 9. Light Blue
- 2. Green A. light Green
- 3. Cyan B. Light Cyan
- 4. Red C. light Red
- 5. Magenta D. Light Magenta
- 6. Brown E. Yellow
- 7. White F. bright White
-
- Discussion of Interrupt choices
- -------------------------------
-
- 1C. timer interrupts
- this is a very good way to defeat even the most stubborn of
- other peoples programs that insist on destroying
- our choice of border colors. unfortunately it does
- its thing 18 times a second & has a fair overhead
-
- 09. keyboard interrupts
- This is the lowest overhead way of doing things although
- a program that actively destroys borders will require you
- to type something every once in a while to maintain your
- chosen color. Most programs dont bother to destroy borders
- more than once or twice so it is useable and results in
- negligible overhead.
-
-
-
-
-
-
-
- My own choice is the Keyboard interrupt as it has negligible
- overhead and most other programs will co-exist with it. If you find too many
- disappearances of the border and palette chosen by you then go to the Timer
- and be sure though at a cost.
-
-
- If you have any comments or suggestions please contact
- me either at Home in the evenings at (416) 226-9753
- or at the following BBS's PCanada(pc-1266) (416) 751-6337
- SGV-BBS (416) 673-0557